package com.qingke.pms.dao;

import java.util.List;

import com.qingke.pms.pojo.Project;

public interface ProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Project record);

    int insertSelective(Project record);

    Project selectByPrimaryKey(Integer id);

    Project selectByCode(String code);
    
    List<Project> selectAll();
    
    List<Project> selectByLikeCode(String code);
    
    List<Project> selectByLikeName(String name);
    
    List<Project> selectByConstructionUnitId(Integer constructionUnitId);
    
    List<Project> selectByFirstPartyId(Integer firstPartyId);
    
    int updateByPrimaryKeySelective(Project record);

    int updateByPrimaryKey(Project record);
}